package org.example.modules.oss.service;

import org.example.modules.sys.dto.FileDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.OutputStream;

public interface FileService {
    //文件上传
    FileDto upload(MultipartFile file) throws IOException;

    // 文件下载
    Object download(OutputStream os, String filePath) throws IOException;
}

